package com.service;

import com.pojo.Game;

import java.util.List;

public interface GameSer {
    //查
    public List<Game> queryGame(Game game);

    //增
    public int addGame(Game game);

    // 删
    public int delGame(Game game);

    // 改
    public int altGame(Game game);

    //根据游戏名模糊查询
    public List<Game> queryGameByName(Game game);

    //根据发行年份查询
    public List<Game> queryGameByYear(Game game);

    //根据类型
    public List<Game> queryGameByType(Game game);

    //根据公司
    public List<Game> queryGameByCompany(Game game);

    //所有条件查询
    public List<Game> queryGameByAll(Game game);

    //检测是否重名
    public int haveGame(Game game);
}
